home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revista CD Expert 32
/
CD Expert nº 32.iso
/
NBA 2000
/
NBA2000.exe
/
CABFILE
/
IDR_CABFILE
/
Data
/
2DScript
/
PLAYCALL.UI
< prev
next >
Wrap
Text File
|
1999-05-19
|
13KB
|
478 lines
"2D\Overlays\PlayCall"
//********************
// Data Container
//********************
DataContainer {
Int "HomeTeamSelection" {
InitialValue 0;
};
Int "VisitorTeamSelection" {
InitialValue 0;
};
Int "PlayCallingTeamSelection" {
RadioGroup "PlayCallingTeamSelection";
InitialValue 0;
};
Int "PlayCallingHomeDropPlay1Color" {PlayDropItem "PlayCallingHomePlay1";};
Int "PlayCallingHomeDropPlay2Color" {PlayDropItem "PlayCallingHomePlay2";};
Int "PlayCallingHomeDropPlay3Color" {PlayDropItem "PlayCallingHomePlay3";};
Int "PlayCallingHomeDropPlay4Color" {PlayDropItem "PlayCallingHomePlay4";};
Int "PlayCallingHomeDropPlay5Color" {PlayDropItem "PlayCallingHomePlay5";};
Int "PlayCallingAwayDropPlay1Color" {PlayDropItem "PlayCallingAwayPlay1";};
Int "PlayCallingAwayDropPlay2Color" {PlayDropItem "PlayCallingAwayPlay2";};
Int "PlayCallingAwayDropPlay3Color" {PlayDropItem "PlayCallingAwayPlay3";};
Int "PlayCallingAwayDropPlay4Color" {PlayDropItem "PlayCallingAwayPlay4";};
Int "PlayCallingAwayDropPlay5Color" {PlayDropItem "PlayCallingAwayPlay5";};
DBEBContentProvider "PlayCallingHomePlay1DBEBCP" {
PlayDropItem "PlayCallingHomePlay1";
Database "Teams";
Format {
String "A" Chicklet;
String " ";
//Enclose the Play ID with special characters that the drop item will recognize.
String "@";
String Field "szPlaybookPlayID1";
String "#";
};
InitialValue {
Restrict Int Field "szTeamID" Equals 0 LinkedToData "HomeTeamSelection";
};
};
DBEBContentProvider "PlayCallingHomePlay2DBEBCP" {
PlayDropItem "PlayCallingHomePlay2";
Database "Teams";
Format {
String "B" Chicklet;
String " ";
//Enclose the Play ID with special characters that the drop item will recognize.
String "@";
String Field "szPlaybookPlayID2";
String "#";
};
InitialValue {
Restrict Int Field "szTeamID" Equals 0 LinkedToData "HomeTeamSelection";
};
};
DBEBContentProvider "PlayCallingHomePlay3DBEBCP" {
PlayDropItem "PlayCallingHomePlay3";
Database "Teams";
Format {
String "C" Chicklet;
String " ";
//Enclose the Play ID with special characters that the drop item will recognize.
String "@";
String Field "szPlaybookPlayID3";
String "#";
};
InitialValue {
Restrict Int Field "szTeamID" Equals 0 LinkedToData "HomeTeamSelection";
};
};
DBEBContentProvider "PlayCallingHomePlay4DBEBCP" {
PlayDropItem "PlayCallingHomePlay4";
Database "Teams";
Format {
String "X" Chicklet;
String " ";
//Enclose the Play ID with special characters that the drop item will recognize.
String "@";
String Field "szPlaybookPlayID4";
String "#";
};
InitialValue {
Restrict Int Field "szTeamID" Equals 0 LinkedToData "HomeTeamSelection";
};
};
DBEBContentProvider "PlayCallingHomePlay5DBEBCP" {
PlayDropItem "PlayCallingHomePlay5";
Database "Teams";
Format {
String "Y" Chicklet;
String " ";
//Enclose the Play ID with special characters that the drop item will recognize.
String "@";
String Field "szPlaybookPlayID5";
String "#";
};
InitialValue {
Restrict Int Field "szTeamID" Equals 0 LinkedToData "HomeTeamSelection";
};
};
DBEBContentProvider "PlayCallingAwayPlay1DBEBCP" {
PlayDropItem "PlayCallingAwayPlay1";
Database "Teams";
Format {
String "A" Chicklet;
String " ";
//Enclose the Play ID with special characters that the drop item will recognize.
String "@";
String Field "szPlaybookPlayID1";
String "#";
};
InitialValue {
Restrict Int Field "szTeamID" Equals 0 LinkedToData "VisitorTeamSelection";
};
};
DBEBContentProvider "PlayCallingAwayPlay2DBEBCP" {
PlayDropItem "PlayCallingAwayPlay2";
Database "Teams";
Format {
String "B" Chicklet;
String " ";
//Enclose the Play ID with special characters that the drop item will recognize.
String "@";
String Field "szPlaybookPlayID2";
String "#";
};
InitialValue {
Restrict Int Field "szTeamID" Equals 0 LinkedToData "VisitorTeamSelection";
};
};
DBEBContentProvider "PlayCallingAwayPlay3DBEBCP" {
PlayDropItem "PlayCallingAwayPlay3";
Database "Teams";
Format {
String "C" Chicklet;
String " ";
//Enclose the Play ID with special characters that the drop item will recognize.
String "@";
String Field "szPlaybookPlayID3";
String "#";
};
InitialValue {
Restrict Int Field "szTeamID" Equals 0 LinkedToData "VisitorTeamSelection";
};
};
DBEBContentProvider "PlayCallingAwayPlay4DBEBCP" {
PlayDropItem "PlayCallingAwayPlay4";
Database "Teams";
Format {
String "X" Chicklet;
String " ";
//Enclose the Play ID with special characters that the drop item will recognize.
String "@";
String Field "szPlaybookPlayID4";
String "#";
};
InitialValue {
Restrict Int Field "szTeamID" Equals 0 LinkedToData "VisitorTeamSelection";
};
};
DBEBContentProvider "PlayCallingAwayPlay5DBEBCP" {
PlayDropItem "PlayCallingAwayPlay5";
Database "Teams";
Format {
String "Y" Chicklet;
String " ";
//Enclose the Play ID with special characters that the drop item will recognize.
String "@";
String Field "szPlaybookPlayID5";
String "#";
};
InitialValue {
Restrict Int Field "szTeamID" Equals 0 LinkedToData "VisitorTeamSelection";
};
};
};
//********************
// Images
//********************
Image "PlayCallingBackground" {
Filename "Bckrnd";
};
//********************
// Fonts
//********************
Font "PlayCallingListBox" {
Filename "JessFnt";
Translate " 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz`,&-'";
Kerning 1;
};
//********************
// Styles
//********************
Style "PlayCallingBackground" {
Image "PlayCallingBackground";
};
Style "PlayCallingDropPlay" {
Font "PlayCallingListBox";
Chicklet "PlayCallingPlay";
};
//********************************
// Chicklets
//********************************
Chicklet "PlayCallingPlay" {
Radius 9.65;
//Dummy colors
Inside Color [8, 8, 8];
Outside Color [136, 0, 5];
//3Pt Play
Inside Color [247, 116, 0];
Outside Color [128, 5, 9];
//Delay Play
Inside Color [38, 148, 255];
Outside Color [27, 0, 117];
//Iso Play
Inside Color [102, 0, 167];
Outside Color [1, 77, 0];
//Lob Play
Inside Color [247, 55, 0];
Outside Color [166, 115, 0];
//Motion Play
Inside Color [47, 177, 56];
Outside Color [20, 76, 24];
//Post Play
Inside Color [0, 67, 221];
Outside Color [21, 0, 90];
};
//********************************
// Drop Items
//********************************
PlayDropItem "PlayCallingHomePlay1" {
Style "PlayCallingDropPlay";
Database "Playbook";
String "Home Play 1";
Rect [10, 25, 182, 23];
Highlight Rect [10, 25, 182, 23];
Position [16, 29];
Selectable;
Pushed Action {SetData "PlayCallingDragPlayID" LinkTo "FieldszPlaybookPlayID1";};
Pushed Action {SetData "PlayCallingPlayDiagramID" LinkTo "FieldszPlaybookPlayID1";};
Pushed Action {SetData "PlayCallingDragPlayColor" LinkTo "PlayCallingHomeDropPlay1Color";};
Pushed Action {Drag PlayDragItem "PlayCallingPlay";};
};
PlayDropItem "PlayCallingHomePlay2" {
Style "PlayCallingDropPlay";
Database "Playbook";
String "Home Play 2";
Rect [10, 52, 182, 23];
Highlight Rect [10, 52, 182, 23];
Position [16, 56];
Selectable;
Pushed Action {SetData "PlayCallingDragPlayID" LinkTo "FieldszPlaybookPlayID2";};
Pushed Action {SetData "PlayCallingPlayDiagramID" LinkTo "FieldszPlaybookPlayID2";};
Pushed Action {SetData "PlayCallingDragPlayColor" LinkTo "PlayCallingHomeDropPlay2Color";};
Pushed Action {Drag PlayDragItem "PlayCallingPlay";};
};
PlayDropItem "PlayCallingHomePlay3" {
Style "PlayCallingDropPlay";
Database "Playbook";
String "Home Play 3";
Rect [10, 79, 182, 23];
Highlight Rect [10, 79, 182, 23];
Position [16, 83];
Selectable;
Pushed Action {SetData "PlayCallingDragPlayID" LinkTo "FieldszPlaybookPlayID3";};
Pushed Action {SetData "PlayCallingPlayDiagramID" LinkTo "FieldszPlaybookPlayID3";};
Pushed Action {SetData "PlayCallingDragPlayColor" LinkTo "PlayCallingHomeDropPlay3Color";};
Pushed Action {Drag PlayDragItem "PlayCallingPlay";};
};
PlayDropItem "PlayCallingHomePlay4" {
Style "PlayCallingDropPlay";
Database "Playbook";
String "Home Play 4";
Rect [10, 106, 182, 23];
Highlight Rect [10, 106, 182, 23];
Position [16, 110];
Selectable;
Pushed Action {SetData "PlayCallingDragPlayID" LinkTo "FieldszPlaybookPlayID4";};
Pushed Action {SetData "PlayCallingPlayDiagramID" LinkTo "FieldszPlaybookPlayID4";};
Pushed Action {SetData "PlayCallingDragPlayColor" LinkTo "PlayCallingHomeDropPlay4Color";};
Pushed Action {Drag PlayDragItem "PlayCallingPlay";};
};
PlayDropItem "PlayCallingHomePlay5" {
Style "PlayCallingDropPlay";
Database "Playbook";
String "Home Play 5";
Rect [10, 133, 182, 23];
Highlight Rect [10, 133, 182, 23];
Position [16, 137];
Selectable;
Pushed Action {SetData "PlayCallingDragPlayID" LinkTo "FieldszPlaybookPlayID5";};
Pushed Action {SetData "PlayCallingPlayDiagramID" LinkTo "FieldszPlaybookPlayID5";};
Pushed Action {SetData "PlayCallingDragPlayColor" LinkTo "PlayCallingHomeDropPlay5Color";};
Pushed Action {Drag PlayDragItem "PlayCallingPlay";};
};
PlayDropItem "PlayCallingAwayPlay1" {
Style "PlayCallingDropPlay";
Database "Playbook";
String "Away Play 1";
Rect [10, 25, 182, 23];
Highlight Rect [10, 25, 182, 23];
Position [16, 29];
Selectable;
Pushed Action {SetData "PlayCallingDragPlayID" LinkTo "FieldszPlaybookPlayID1";};
Pushed Action {SetData "PlayCallingPlayDiagramID" LinkTo "FieldszPlaybookPlayID1";};
Pushed Action {SetData "PlayCallingDragPlayColor" LinkTo "PlayCallingAwayDropPlay1Color";};
Pushed Action {Drag PlayDragItem "PlayCallingPlay";};
};
PlayDropItem "PlayCallingAwayPlay2" {
Style "PlayCallingDropPlay";
Database "Playbook";
String "Away Play 2";
Rect [10, 52, 182, 23];
Highlight Rect [10, 52, 182, 23];
Position [16, 56];
Selectable;
Pushed Action {SetData "PlayCallingDragPlayID" LinkTo "FieldszPlaybookPlayID2";};
Pushed Action {SetData "PlayCallingPlayDiagramID" LinkTo "FieldszPlaybookPlayID2";};
Pushed Action {SetData "PlayCallingDragPlayColor" LinkTo "PlayCallingAwayDropPlay2Color";};
Pushed Action {Drag PlayDragItem "PlayCallingPlay";};
};
PlayDropItem "PlayCallingAwayPlay3" {
Style "PlayCallingDropPlay";
Database "Playbook";
String "Away Play 3";
Rect [10, 79, 182, 23];
Highlight Rect [10, 79, 182, 23];
Position [16, 83];
Selectable;
Pushed Action {SetData "PlayCallingDragPlayID" LinkTo "FieldszPlaybookPlayID3";};
Pushed Action {SetData "PlayCallingPlayDiagramID" LinkTo "FieldszPlaybookPlayID3";};
Pushed Action {SetData "PlayCallingDragPlayColor" LinkTo "PlayCallingAwayDropPlay3Color";};
Pushed Action {Drag PlayDragItem "PlayCallingPlay";};
};
PlayDropItem "PlayCallingAwayPlay4" {
Style "PlayCallingDropPlay";
Database "Playbook";
String "Away Play 4";
Rect [10, 106, 182, 23];
Highlight Rect [10, 106, 182, 23];
Position [16, 110];
Selectable;
Pushed Action {SetData "PlayCallingDragPlayID" LinkTo "FieldszPlaybookPlayID4";};
Pushed Action {SetData "PlayCallingPlayDiagramID" LinkTo "FieldszPlaybookPlayID4";};
Pushed Action {SetData "PlayCallingDragPlayColor" LinkTo "PlayCallingAwayDropPlay4Color";};
Pushed Action {Drag PlayDragItem "PlayCallingPlay";};
};
PlayDropItem "PlayCallingAwayPlay5" {
Style "PlayCallingDropPlay";
Database "Playbook";
String "Away Play 5";
Rect [10, 133, 182, 23];
Highlight Rect [10, 133, 182, 23];
Position [16, 137];
Selectable;
Pushed Action {SetData "PlayCallingDragPlayID" LinkTo "FieldszPlaybookPlayID5";};
Pushed Action {SetData "PlayCallingPlayDiagramID" LinkTo "FieldszPlaybookPlayID5";};
Pushed Action {SetData "PlayCallingDragPlayColor" LinkTo "PlayCallingAwayDropPlay5Color";};
Pushed Action {Drag PlayDragItem "PlayCallingPlay";};
};
//********************
// Groups
//********************
RadioGroup "PlayCallingTeamSelection" {
Children {
CheckButton "PlayCallingDummyHome";
CheckButton "PlayCallingDummyVisitor";
};
};
Group "PlayCallingHomePlays" {
Children {
PlayDropItem "PlayCallingHomePlay1";
PlayDropItem "PlayCallingHomePlay2";
PlayDropItem "PlayCallingHomePlay3";
PlayDropItem "PlayCallingHomePlay4";
PlayDropItem "PlayCallingHomePlay5";
};
};
Group "PlayCallingVisitorPlays" {
Children {
PlayDropItem "PlayCallingAwayPlay1";
PlayDropItem "PlayCallingAwayPlay2";
PlayDropItem "PlayCallingAwayPlay3";
PlayDropItem "PlayCallingAwayPlay4";
PlayDropItem "PlayCallingAwayPlay5";
};
};
MenuGroup "PlayCallingTeamSelection" {
Position [10, 10];
Children {
RadioGroup "PlayCallingTeamSelection";
Group "PlayCallingHomePlays";
Group "PlayCallingVisitorPlays";
};
};
Group "PlayCalling" {
Style "PlayCallingBackground";
Root;
// Position [10, 300];
BottomLeft Position [10, -180];
Children {
MenuGroup "PlayCallingTeamSelection";
};
};